<?php /*a:1:{s:97:"/Users/huangjiapeng/未命名文件夹/git/A3Mall-GITEE/server/app/admin/view/common/get_attr.php";i:1629663074;}*/ ?>

<table class="layui-table goods-table-box">
    <colgroup>
        <col width="150">
        <col>
    </colgroup>
    <tbody>
        <?php if(!empty($result)): if(is_array($result) || $result instanceof \think\Collection || $result instanceof \think\Paginator): $i = 0; $__LIST__ = $result;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$val): $mod = ($i % 2 );++$i;?>
        <tr>
            <th><?php echo htmlentities($val['data']['name']); ?></th>
            <td>
                <?php if(!empty($val['item'])): if(is_array($val['item']) || $val['item'] instanceof \think\Collection || $val['item'] instanceof \think\Paginator): $i = 0; $__LIST__ = $val['item'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$item): $mod = ($i % 2 );++$i;?>
                <div class="layui-btn-group layui-btn-group-spec">
                    <button class="layui-btn <?php if(!in_array($item['id'],$spec_checked)): ?>layui-btn-primary<?php endif; ?> layui-btn-spec layui-btn-sm"><?php echo htmlentities($item['value']); ?></button>
                    <input type="hidden" name="spec_item[]" value="<?php echo htmlentities($item['id']); ?>">
                </div>
                <?php endforeach; endif; else: echo "" ;endif; ?>
                <?php endif; ?>
            </td>
        </tr>
        <?php endforeach; endif; else: echo "" ;endif; ?>
        <?php endif; ?>
    </tbody>
</table>